<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>NodeFunctionInput - Three.js Docs</title>
	<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<script src="../scripts/highlight.min.js"></script>
	<link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
	<link type="text/css" rel="stylesheet" href="../styles/page.css">
</head>
<body>
	<h1 translate="no">NodeFunctionInput</h1>
		<section>
			<header>
				<div class="class-description"><p>Describes the input of a <a href="NodeFunction.html">NodeFunction</a>.</p></div>
			</header>
			<article>
				<div class="container-overview">
					<h2>Constructor</h2>
					<h3 class="name name-method" id="NodeFunctionInput" translate="no">new <a href="#NodeFunctionInput">NodeFunctionInput</a><span class="signature">( type : <span class="param-type">string</span>, name : <span class="param-type">string</span>, count : <span class="param-type">number</span>, qualifier : <span class="param-type">'in' | 'out' | 'inout'</span>, isConst : <span class="param-type">boolean</span> )</span> </h3>
					<div class="method">
						<div class="description">
							<p>Constructs a new node function input.</p>
						</div>
						<table class="params">
							<tbody>
								<tr>
									<td class="name">
										<strong>type</strong>
									</td>
									<td class="description last">
										<p>The input type.</p>
									</td>
								</tr>
								<tr>
									<td class="name">
										<strong>name</strong>
									</td>
									<td class="description last">
										<p>The input name.</p>
									</td>
								</tr>
								<tr>
									<td class="name">
										<strong>count</strong>
									</td>
									<td class="description last">
										<p>If the input is an Array, count will be the length.</p>
										<p>Default is <code>null</code>.</p>
									</td>
								</tr>
								<tr>
									<td class="name">
										<strong>qualifier</strong>
									</td>
									<td class="description last">
										<p>The parameter qualifier (only relevant for GLSL).</p>
										<p>Default is <code>''</code>.</p>
									</td>
								</tr>
								<tr>
									<td class="name">
										<strong>isConst</strong>
									</td>
									<td class="description last">
										<p>Whether the input uses a const qualifier or not (only relevant for GLSL).</p>
										<p>Default is <code>false</code>.</p>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<h2 class="subsection-title">Properties</h2>
				<div class="member">
					<h3 class="name" id="count" translate="no">.<a href="#count">count</a><span class="type-signature"> : number</span> </h3>
					<div class="description">
						<p>If the input is an Array, count will be the length.</p>
						<p>Default is <code>null</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="isConst" translate="no">.<a href="#isConst">isConst</a><span class="type-signature"> : boolean</span> </h3>
					<div class="description">
						<p>Whether the input uses a const qualifier or not (only relevant for GLSL).</p>
						<p>Default is <code>false</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="name" translate="no">.<a href="#name">name</a><span class="type-signature"> : string</span> </h3>
					<div class="description">
						<p>The input name.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="qualifier" translate="no">.<a href="#qualifier">qualifier</a><span class="type-signature"> : 'in' | 'out' | 'inout'</span> </h3>
					<div class="description">
						<p>The parameter qualifier (only relevant for GLSL).</p>
						<p>Default is <code>''</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="type" translate="no">.<a href="#type">type</a><span class="type-signature"> : string</span> </h3>
					<div class="description">
						<p>The input type.</p>
					</div>
				</div>
				<h2 class="subsection-title">Source</h2>
				<p>
					<a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/core/NodeFunctionInput.js" translate="no" target="_blank" rel="noopener">src/nodes/core/NodeFunctionInput.js</a>
				</p>
			</article>
		</section>
<script src="../scripts/linenumber.js"></script>
<script src="../scripts/page.js"></script>
</body>
</html>